﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ElMexicanos.Base.Models;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ElMexicanos.Base;

namespace ElMexicanos.Components.Hero
{
    class ColisStrat : Sprite
    {
        public enum ColisState
        {
            ARamasser,
            AActiver,
            Active,
            Explosion
        }

        private ColisState state;

        //Sprite animé
        private AnimSprite flyColis;
        private AnimSprite explosion;

        public ColisStrat()
        {
            this.state = ColisState.ARamasser;
            
            Random rnd = new Random();
            int x = rnd.Next(50, 1200);
            int y = rnd.Next(50, 680);

            position = new Vector2(x,y);
        }


        public void Initialize()
        {

        }

        public void LoadContent()
        {
            texture = RessourcesManager.GetInstance().GetTexture("");
        }

        public void Update(GameTime time)
        {
            if (state == ColisState.ARamasser)
            {

            }
            else if (state == ColisState.AActiver)
            {

            }
            else if (state == ColisState.Active)
            {

            }
            else if (state == ColisState.Explosion)
            {

            }
        }
        
        public void Draw(SpriteBatch spriteBatch)
        {
            if (state == ColisState.ARamasser)
            {

            }
            else if (state == ColisState.AActiver)
            {

            }
            else if (state == ColisState.Active)
            {

            }
            else if (state == ColisState.Explosion)
            {

            }
        }

    }
}
